<?php
class Iva extends AppModel {
	var $name = 'Iva';
	var $useTable = 'ivas';
	var $validate = array(
		'id' => array(
			'blank' => array(
				'rule' => array('blank'),
				'on' => 'create' 
			)
		),
		'porcentaje' => array(
			'decimal' => array(
				'rule' => array('decimal', 2)
			)
		)
	);
}
?>